package com.bestcem.xm.ticket.constant;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * 各表中列名常量表
 *
 * @author XiaoYunSong <ys.xiao@idiaoyan.com>
 * @version v1.0
 * @date 2021/8/11 15:24
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class ColumnConstant {
    @NoArgsConstructor(access = AccessLevel.PRIVATE)
    public static class Base {
        public static final String ID = "_id";
        public static final String RECORD_FLAG = "record_flag";
        public static final String CREATED_DT = "created_dt";
        public static final String CREATED_ID = "created_id";
        public static final String UPDATED_DT = "updated_dt";
        public static final String UPDATED_ID = "updated_id";
    }

    @NoArgsConstructor(access = AccessLevel.PRIVATE)
    public static class TicketRecord extends Base {
        public static final String ORG_ID = "orgId";
        public static final String USER_ID = "userId";
        public static final String TITLE = "title";
        public static final String TICKET_ID = "ticketId";
        public static final String ROLE_ID = "roleId";
        public static final String REGION = "region";
        public static final String REGION_NAME = "regionName";
        public static final String USER_NAME = "userName";
        public static final String SOURCE = "source";
        public static final String EVENT = "event";
        public static final String CUSTOM_ATTR = "custom_attr";
        public static final String SURVEY_ID = "surveyId";
        public static final String TICKET_STATUS = "ticket_status";
        public static final String REASON = "reason";
        public static final String SAMPLE = "sample";


        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class CustomAttr {
            public static final String IS_COMPLETED = "isCompleted";
            public static final String CUSTOM_FIELDS = "custom_fields";
            public static final String IS_AGREED = "isAgreed";
            public static final String CONTENT = "content";
            public static final String AUDIT_HANDLE = "auditHandle";
            public static final String TIME_LIMIT_TYPE = "timeLimitType";
            public static final String TIME_LIMIT = "timeLimit";
            public static final String TRANSFER_FOLLOW_DEADLINE = "transferFollowDeadline";

            @NoArgsConstructor(access = AccessLevel.PRIVATE)
            public static class CustomField {
                public static final String FIELD = "field";
                public static final String TEXT = "text";
                public static final String VALUE = "value";
            }
        }
    }

    @NoArgsConstructor(access = AccessLevel.PRIVATE)
    public static class Ticket extends Base {
        public static final String NAME = "name";
        public static final String SYS_ID = "sysId";
        public static final String ORG_ID = "orgId";
        public static final String TICKET_NO = "ticketNo";
        public static final String SURVEY_ID = "surveyId";
        public static final String SURVEY_TITLE = "surveyTitle";
        public static final String FOLLOW_ROLE_ID = "followRoleId";
        public static final String FOLLOW_USER_IDS = "followUserIds";
        public static final String AUDIT_USER_IDS = "auditUserIds";
        public static final String AUDIT_ROLE_ID = "auditRoleId";
        public static final String CURRENT_FOLLOW_NODE = "currentFollowNode";
        public static final String FOLLOW_NODE_COUNT = "followNodeCount";
        public static final String CURRENT_AUDIT_NODE = "currentAuditNode";
        public static final String AUDIT_NODE_COUNT = "auditNodeCount";
        public static final String REGION = "region";
        public static final String REGION_NAME = "regionName";
        public static final String ALERT_ID = "alertId";
        public static final String ALERT_RULE_IDS = "alertRuleIds";
        public static final String RES_ID = "resId";
        public static final String CONTACT = "contact";
        public static final String STATUS = "status";
        public static final String HAS_FOLLOW_OVERDUE = "hasFollowOverdue";
        public static final String FOLLOW_DEADLINE = "followDeadline";
        public static final String HAS_AUDIT_OVERDUE = "hasAuditOverdue";
        public static final String AUDIT_DEADLINE = "auditDeadline";
        public static final String TICKET_DEADLINE = "ticketDeadline";
        public static final String TICKET_CONFIG_ID = "ticketConfigId";
        public static final String TICKET_FLOW = "ticketFlow";
        public static final String TICKET_TEMPLATE = "ticketTemplate";
        public static final String TICKET_RECORD_IDS = "ticketRecordIds";
        public static final String CLOSED_D_T = "closedDT";
        public static final String TICKET_FLOW_LIST = "ticketFlowList";
        public static final String TICKET_FINISH_TIME = "ticketFinishtime";
        public static final String TICKET_FAILED_TIME = "ticketFailedtime";
        public static final String CUR_FOLLOW_USER_ID = "curFollowUserId";
        public static final String ALERT_RECORD_ID = "alertrecord_id";
        public static final String TEMPLATE_DETAIL_FIELDS = "templateDetailFields";
        public static final String NEED_RECORD = "needRecord";
        public static final String TTYPE = "ttype";
        public static final String HAS_COMMIT = "hasCommit";
        public static final String MEMBER_ID = "member_id";
        public static final String DETAIL_TEMPLATE_ID = "detail_template_id";
        public static final String HANDLE_TEMPLATE_ID = "handle_template_id";
        public static final String OPERATION_TYPE = "operation_type";
        public static final String CREATED_NAME = "created_name";
        public static final String SAMPLE = "sample";
        public static final String TRIGGER_NAMES = "triggerNames";


        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class TemplateDetailField {
            public static final String CONTENT = "content";
            public static final String SOURCE_ID = "sourceId";
            public static final String ORIGIN_TEXT = "originText";
            public static final String VALUE = "value";
            public static final String TYPE = "type";
            public static final String REQUIRED = "required";

            @NoArgsConstructor(access = AccessLevel.PRIVATE)
            public static class SurveyAnswer {
                public static final String ANSWER = "answer";
                public static final String C_ID = "cid";
                public static final String CUSTOM_Q_TYPE = "custom_qtype";
                public static final String Q_TYPE = "qtype";
            }
        }

        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class Contact {
            public static final String PHONE = "phone";
            public static final String EMAIL = "email";
        }
    }

    @NoArgsConstructor(access = AccessLevel.PRIVATE)
    public static class TicketNotifyConfig extends Base {
        public static final String ORG_ID = "orgId";
        public static final String TICKET_CONFIG_ID = "ticketConfigId";
        public static final String IS_INSTANT = "isInstant";
        public static final String STATUS = "status";
        public static final String MODE = "mode";
        public static final String PERIOD = "period";
        public static final String EVENT = "event";
        public static final String HOURS_LIMIT = "hoursLimit";
        public static final String HAS_RECEIVER = "hasReceiver";
        public static final String HAS_CC_LIST = "hasCCList";
        public static final String RECEIVER = "receiver";
        public static final String CC_LIST = "ccList";
        public static final String CUSTOM_ATTR = "custom_attr";
        public static final String WAYS = "ways";
        public static final String SMTP_ID = "smtp_id";
        public static final String SAMPLE = "sample";
        public static final String EMAIL_SUBJECT = "email_subject";
        public static final String EMAIL_CONTENT = "email_content";
        public static final String EMAIL_TEMPLATE_ID = "email_template_id";
        public static final String SMS_SUBJECT = "sms_subject";
        public static final String SMS_CONTENT = "sms_content";
        public static final String SMS_TEMPLATE_ID = "sms_template_id";


        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class RoleRegion {
            public static final String REGION = "region";
            public static final String ROLE_ID = "roleId";
            public static final String EMAIL = "email";
            public static final String ID = "id";
            public static final String USER_NAME = "userName";
            public static final String NAME = "name";
            public static final String MOBILE = "mobile";
            public static final String STATUS = "status";
            public static final String CC_FILTER = "cc_filter";
            public static final String CC_ID = "cc_id";
        }

        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class ReceiveUser {
            public static final String ID = "id";
            public static final String EMAIL = "email";
            public static final String MOBILE = "mobile";
            public static final String USERNAME = "userName";
            public static final String REGION = "region";
            public static final String ROLE_ID = "roleId";
            public static final String FOLLOWER_FILTER = "follower_filter";
            public static final String FOLLOWER_ID = "follower_id";
        }
    }

    @NoArgsConstructor(access = AccessLevel.PRIVATE)
    public static class TicketConfig extends Base {
        public static final String SYS_ID = "sysId";
        public static final String ORG_ID = "orgId";
        public static final String USER_ID = "userId";
        public static final String SURVEY_ID = "surveyId";
        public static final String TICKET_FLOW_IDS = "ticketFlowIds";
        public static final String CREATE_TRIGGER = "createTrigger";
        public static final String ALERT_ID = "alertId";
        public static final String ALERT_RULE_IDS = "alertRuleIds";
        public static final String ALERT_RULE_COUNT = "alertRuleCount";
        public static final String ONLY_HAS_CONTACT = "onlyHasContact";
        public static final String TICKET_TEMPLATE_ID = "ticketTemplateId";
        public static final String DETAIL_TEMPLATE_ID = "detail_template_id";
        public static final String TICKET_NOTIFY_CONFIG_IDS = "ticketNotifyConfigIds";
        public static final String RULE_LIST = "ruleList";
        public static final String STATUS_RULE_LIST = "statusruleList";
        public static final String TITLE = "title";
        public static final String STATE = "state";
        public static final String TICKET_RULE_ID = "ticketRuleId";
        public static final String NEED_DEAL = "needDeal";
        public static final String NEED_RECORD = "needRecord";
        public static final String REMIND_ADMIN = "remindAdmin";
        public static final String NOTIFY_HANDLER = "notifyHandler";
        public static final String TEMPLATE_DETAIL_FIELDS = "templateDetailFields";
        public static final String SMTP_ID = "smtp_id";
        public static final String SAMPLE = "sample";
    }

    @NoArgsConstructor(access = AccessLevel.PRIVATE)
    public static class TicketRule extends Base {
        public static final String SURVEY_ID = "surveyId";
        public static final String TICKET_CONFIG_ID = "ticketConfigId";
        public static final String TITLE = "title";
        public static final String GID = "gid";
        public static final String OPERATION = "operation";
        public static final String CREATOR = "creator";
        public static final String VERSION = "version";
        public static final String RULE_TYPE = "rtype";
        public static final String CONDITION = "condition";
        public static final String TARGET_LIST = "targetList";
        public static final String CONDITION_LIST = "conditionlist";
        public static final String SAMPLE = "sample";

        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class Condition {
            public static final String LOGIC = "logic";
            public static final String FILTERS = "filters";
            public static final String RTYPE = "rtype";
            public static final String RULE = "rule";

            @NoArgsConstructor(access = AccessLevel.PRIVATE)
            public static class Filter {
                public static final String OPERATION = "operation";
                public static final String CATEGORY = "category";
                public static final String VALUE = "value";
                public static final String SOURCEQ = "sourceQ";
                public static final String LOGIC = "logic";
                public static final String ID = "id";

                @NoArgsConstructor(access = AccessLevel.PRIVATE)
                public static class Options {
                    public static final String GID = "gid";
                    public static final String TITLE = "title";
                    public static final String TYPE = "type";
                    public static final String SEQ = "seq";
                    public static final String OID = "oid";
                    public static final String DISABLED = "disabled";
                    public static final String IS_OPEN = "is_open";
                    public static final String OPEN_ATTRS = "open_attrs";
                }

                @NoArgsConstructor(access = AccessLevel.PRIVATE)
                public static class SourceQ {
                    public static final String ID = "id";
                    public static final String TYPE = "type";
                    public static final String GID = "gid";
                    public static final String CID = "cid";
                    public static final String ALIGN = "align";
                    public static final String OPTIONS_RANDOM = "options_random";
                    public static final String REQUIRED = "required";
                    public static final String TITLE = "title";
                    public static final String QTYPE = "qtype";
                    public static final String CUSTOM_QTYPE = "custom_qtype";
                    public static final String COLUMN_VALUE = "column_value";
                    public static final String VOTE_SETTING = "vote_setting";
                    public static final String ANSWER_STYLE = "answerStyle";
                    public static final String DISP_CODE = "disp_code";
                    public static final String FIXED = "fixed";
                    public static final String ITEMS = "items";
                    public static final String CODE_SELECT = "codeSelect";
                    public static final String JUMP_CODE = "jump_code";
                    public static final String SCORE_RANGE = "score_range";
                    public static final String ICON = "icon";
                    public static final String PROMPT_TEXT = "prompt_text";
                    public static final String OPTION_BIND_LIST = "option_bind_list";
                    public static final String OPTIONS_BIND_EFFECT = "optionsBindEffect";
                    public static final String OPTION_GROUP_LIST = "option_group_list";
                    public static final String OPTIONS_GROUP_EFFECT = "optionsGroupEffect";
                    public static final String INDEX = "_index";
                    public static final String OPTIONS_GROUP_RANDOM = "options_group_random";
                    public static final String GROUP_ALIGN = "group_align";
                    public static final String SEQ = "seq";
                    public static final String DEFAULT_Q_TIMECOST = "default_q_timecost";
                    public static final String OPTIONS = "options";

                    @NoArgsConstructor(access = AccessLevel.PRIVATE)
                    public static class Item {
                        public static final String TYPE = "type";
                        public static final String GID = "gid";
                        public static final String TITLE = "title";
                        public static final String SEQ = "seq";
                        public static final String OID = "oid";
                        public static final String IS_OPEN = "is_open";
                        public static final String DISP_CODE = "disp_code";
                        public static final String PLASTER_CODE = "plaster_code";
                        public static final String OPEN_ATTRS = "open_attrs";

                        @NoArgsConstructor(access = AccessLevel.PRIVATE)
                        public static class OpenAttrs {
                            public static final String REQUIRED = "required";
                            public static final String TYPE = "type";
                            public static final String RANGE = "range";
                            public static final String UNIQUE = "unique";
                            public static final String UNIT = "unit";
                        }
                    }

                    @NoArgsConstructor(access = AccessLevel.PRIVATE)
                    public static class PromptText {
                        public static final String LEFT_WORDS = "left_words";
                        public static final String MIDDLE_WORDS = "middle_words";
                        public static final String RIGHT_WORDS = "right_words";
                    }
                }

                @NoArgsConstructor(access = AccessLevel.PRIVATE)
                public static class Value {
                    public static final String NAIRE_OPTIONS = "naireOptions";
                    public static final String OPTION_LIST = "optionList";
                    public static final String EVALUATION_TYPE = "evaluationType";
                    public static final String OPTION_MATCH = "optionMatch";
                    public static final String WORD_LIST = "wordList";
                    public static final String EXCLUDE_LIST = "excludeList";
                    public static final String CLASSIFY = "classify";
                    public static final String IS_OPEN = "isOpen";
                    public static final String EXPIRE = "expire";
                    public static final String SORT = "sort";
                    public static final String TIME = "time";
                    public static final String MIN_SCORE = "minScore";
                    public static final String MAX_SCORE = "maxScore";
                    public static final String DAYS = "days";
                    public static final String LEFT_OPEN = "leftOpen";
                    public static final String RIGHT_OPEN = "rightOpen";
                    public static final String DATE = "date";


                    @NoArgsConstructor(access = AccessLevel.PRIVATE)
                    public static class NaireOptions {
                        public static final String OPTIONS = "options";
                        public static final String TYPE = "type";
                        public static final String _ID = "_id";
                        public static final String GID = "gid";
                        public static final String OID = "oid";
                        public static final String TITLE = "title";
                        public static final String OPEN_ATTRS = "open_attrs";
                        public static final String IS_OPEN = "is_open";
                        public static final String SEQ = "seq";
                    }
                }
            }
        }

        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class Target {
            public static final String LEVEL_ID = "levelID";
            public static final String ROLE_ID = "roleID";
            public static final String ROLE_OPTIONS = "roleOptions";

            @NoArgsConstructor(access = AccessLevel.PRIVATE)
            public static class RoleOption {
                public static final String ID = "id";
            }
        }
    }

    @NoArgsConstructor(access = AccessLevel.PRIVATE)
    public static class TicketTemplate extends Base {
        public static final String ORG_ID = "orgId";
        public static final String TICKET_CONFIG_ID = "ticketConfigId";
        public static final String CATEGORY = "category";
        public static final String CUSTOM_FIELD_LIMIT = "customFieldLimit";
        public static final String DEFAULT_FIELDS = "defaultFields";
        public static final String CUSTOM_FIELDS = "customFields";
        public static final String SAMPLE = "sample";


        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class FieldInfo {
            public static final String FIELD = "field";
            public static final String TEXT = "text";
            public static final String TYPE = "type";
            public static final String REQUIRED = "required";
            public static final String OPTIONS = "options";

            @NoArgsConstructor(access = AccessLevel.PRIVATE)
            public static class Option {
                public static final String TEXT = "text";
                public static final String VALUE = "value";
            }
        }
    }

    @NoArgsConstructor(access = AccessLevel.PRIVATE)
    public static class TicketFlow extends Base {
        public static final String ORG_ID = "orgId";
        public static final String USER_ID = "userId";
        public static final String TICKET_CONFIG_ID = "ticketConfigId";
        public static final String FLOW_ID = "flowId";
        public static final String TITLE = "title";
        public static final String STATUS = "status";
        public static final String MATCH_CONDITION = "matchCondition";
        public static final String ALERT_RULE_IDS = "alertRuleIds";
        public static final String CUSTOM_RULE_IDS = "customRuleIds";
        public static final String PRIORITY = "priority";
        public static final String FOLLOW_CONFIG = "followConfig";
        public static final String NEED_AUDIT = "needAudit";
        public static final String AUDIT_CONFIG = "auditConfig";
        public static final String VERSION = "version";
        public static final String RULE_LIST = "ruleList";
        public static final String SAMPLE = "sample";

        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class CustomRuleId {
            public static final String ID = "id";
            public static final String TITLE = "title";
        }

        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class FollowConfig {
            public static final String TITLE = "title";
            public static final String FOLLOWER_EMAIL = "follower_email";
            public static final String FOLLOWER_ID = "follower_id";
            public static final String FOLLOWER_NAME = "follower_name";
            public static final String FOLLOWER_FILTER = "follower_filter";
            public static final String REGION = "region";
            public static final String ROLE_ID = "roleId";
            public static final String TIME_LIMIT_TYPE = "timeLimitType";
            public static final String TIME_LIMIT = "timeLimit";
            public static final String OVERDUE_HANDLE = "overdueHandle";
            public static final String EMPTY_FOLLOWER_HANDLE = "emptyFollowerHandle";
            public static final String OPTIONS = "options";

            @NoArgsConstructor(access = AccessLevel.PRIVATE)
            public static class Option {
                public static final String ID = "id";
                public static final String TITLE = "title";
                public static final String ROLE_INDEX = "role_index";
                public static final String ROLE_TYPE = "roleType";
            }
        }
    }

    // ======= 预警迁移 =======

    @NoArgsConstructor(access = AccessLevel.PRIVATE)
    public static class Notification extends Base {
        public static final String NO_DISTURB = "no_disturb";
        public static final String NO_DISTURB_ENABLE = "no_disturb_enable";
        public static final String ORG_ID = "orgId";
        public static final String RULE = "rule";
        public static final String SURVEY_ID = "surveyId";
        public static final String WAYS = "ways";
        public static final String SAMPLE = "sample";

        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class Way {
            public static final String EMAIL = "email";
            public static final String EMAIL_ENABLE = "email_enable";
            public static final String MOBILE = "mobile";
            public static final String MOBILE_ENABLE = "mobile_enable";
            public static final String WECHAT_PUBLIC_ENABLE = "wechat_public_enable";
        }

        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class Rule {
            public static final String EVERYSCRSPDENABLE = "every_s_c_rspd_enable";
            public static final String SCRSPDREACHENABLE = "s_c_rspd_reach_enable";
            public static final String SCRSPDREACHCOUNT = "s_c_rspd_reach_count";
            public static final String SCRSPDFREQENABLE = "s_c_rspd_freq_enable";
            public static final String SCRSPDFREQTIME = "s_c_rspd_freq_time";
            public static final String SCRSPDFREQOPERATOR = "s_c_rspd_freq_operator";
            public static final String SCRSPDFREQVALUE = "s_c_rspd_freq_value";
            public static final String SCRSPDRATIOENABLE = "s_c_rspd_ratio_enable";
            public static final String SCRSPDRATIOTIME = "s_c_rspd_ratio_time";
            public static final String SCRSPDRATIOOPERATOR = "s_c_rspd_ratio_operator";
            public static final String SCRSPDRATIOVALUE = "s_c_rspd_ratio_value";
            public static final String QUOTEFULLENABLE = "quote_full_enable";
            public static final String AWARDBONUSENABLE = "award_bonus_enable";
            public static final String AWARDDRAWENABLE = "award_draw_enable";
            public static final String SAMPLE = "sample";
        }
    }

    @NoArgsConstructor(access = AccessLevel.PRIVATE)
    public static class NotifySetting extends Base {
        public static final String ORG_ID = "orgID";
        public static final String WAYS = "ways";
        public static final String SAMPLE = "sample";

        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class Way {
            public static final String EMAIL = "email";
            public static final String SMS = "sms";
            public static final String FEISHU = "feishu";
            public static final String WECHATWORK = "wechatwork";
            public static final String DINGTALK = "dingtalk";
        }
    }

    @NoArgsConstructor(access = AccessLevel.PRIVATE)
    public static class Record extends Base {
        public static final String ORG_ID = "orgID";
        public static final String MODE = "mode";
        public static final String QPROJECT_ID = "qprojectID";
        public static final String RSPD_SEQ = "rspdSeq";
        public static final String ALERT_SEQ = "alertSeq";
        public static final String GROUP_LIST = "groupList";
        public static final String GROUP_CODE = "groupCode";
        public static final String RULE_LIST = "ruleList";
        public static final String CLOSE_DT = "closeDT";
        public static final String CLOSE_REASON = "closeReason";
        public static final String DATA = "data";
        public static final String SAMPLE = "sample";
    }

    @NoArgsConstructor(access = AccessLevel.PRIVATE)
    public static class RspdTimer extends Base {
        public static final String SEARCH = "search";
        public static final String EXPIRE = "expire";
        public static final String STATUS = "status";
        public static final String RULE_ID_LIST = "rule_id_list";

        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class Search {
            public static final String AGAIN_DELIVER_RECORD_ID = "again_deliver_record_id";
        }
    }

    // ======= 2.3 新增 =======

    @NoArgsConstructor(access = AccessLevel.PRIVATE)
    public static class TicketTemplateV2 extends Base {
        public static final String ORG_ID = "orgID";
        public static final String TICKET_CONFIG_ID = "ticketConfigId";
        public static final String NAME = "name";
        public static final String TYPE = "type";
        public static final String USE = "use";
        public static final String FIELD_LIST = "fields";
        public static final String SEQUENCE = "seq";
        public static final String CREATOR = "creator";
        public static final String SAMPLE = "sample";

        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class FieldInfo {
            public static final String NAME = "name";
            public static final String TYPE = "type";
            public static final String REQUIRED = "required";
            public static final String FIELD = "field";
            public static final String VALUE = "value";
            public static final String SINGLE_SELECT = "single_select";
            public static final String CASCADE_LIST = "cascade";
            public static final String IS_UPDATE = "is_update";
        }

        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class SingleSelectValue {
            public static final String OPTION_LIST = "options";
            public static final String SOURCE = "source";
            public static final String CONTENT = "content";

            @NoArgsConstructor(access = AccessLevel.PRIVATE)
            public static class Option {
                public static final String FIELD = "field";
                public static final String VALUE = "value";
            }
        }

        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class Cascade {
            public static final String OPTION_LIST = "options";
            public static final String LEVEL = "level";
        }

        @NoArgsConstructor(access = AccessLevel.PRIVATE)
        public static class Option {
            public static final String ID = "id";
            public static final String PID = "pid";
            public static final String VALUE = "value";
        }
    }

    /**
     * 导出记录
     */
    public static class ExportRecord extends Base {
        public static final String ORG_ID = "orgId";
        public static final String MEMBER_TYPE = "mtype";
        public static final String FILE_NAME = "file_name";
        public static final String FILE_TYPE = "file_type";
        public static final String FILE_SIZE = "file_size";
        public static final String FILE_URL = "file_path";
        public static final String FILE_DATA = "file_data";
        public static final String STATUS = "status";
        public static final String PARAMS = "params";
        public static final String ERROR_MSG = "msg";
        public static final String OP_USER_ID = "user";
    }
}
